.class public Lcom/netease/util/WhereStringBuilder;
.super Ljava/lang/Object;
.source "WhereStringBuilder.java"


# instance fields
.field private mSelectWhere:Ljava/lang/StringBuilder;


# direct methods
.method public constructor <init>()V
    .locals 2

    .prologue
    .line 5
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 6
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, " "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iput-object v0, p0, Lcom/netease/util/WhereStringBuilder;->mSelectWhere:Ljava/lang/StringBuilder;

    .line 5
    return-void
.end method


# virtual methods
.method public and()Lcom/netease/util/WhereStringBuilder;
    .locals 2

    .prologue
    .line 49
    iget-object v0, p0, Lcom/netease/util/WhereStringBuilder;->mSelectWhere:Ljava/lang/StringBuilder;

    const-string v1, " AND "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 50
    return-object p0
.end method

.method public append(Ljava/lang/String;)Lcom/netease/util/WhereStringBuilder;
    .locals 2
    .parameter "column"

    .prologue
    .line 86
    iget-object v0, p0, Lcom/netease/util/WhereStringBuilder;->mSelectWhere:Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "?"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 87
    return-object p0
.end method

.method public append(Ljava/lang/String;I)Lcom/netease/util/WhereStringBuilder;
    .locals 2
    .parameter "column"
    .parameter "value"

    .prologue
    .line 73
    iget-object v0, p0, Lcom/netease/util/WhereStringBuilder;->mSelectWhere:Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    .line 74
    return-object p0
.end method

.method public append(Ljava/lang/String;J)Lcom/netease/util/WhereStringBuilder;
    .locals 2
    .parameter "column"
    .parameter "value"

    .prologue
    .line 61
    iget-object v0, p0, Lcom/netease/util/WhereStringBuilder;->mSelectWhere:Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, p2, p3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    .line 62
    return-object p0
.end method

.method public lP()Lcom/netease/util/WhereStringBuilder;
    .locals 2

    .prologue
    .line 29
    iget-object v0, p0, Lcom/netease/util/WhereStringBuilder;->mSelectWhere:Ljava/lang/StringBuilder;

    const-string v1, "("

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 30
    return-object p0
.end method

.method public or()Lcom/netease/util/WhereStringBuilder;
    .locals 2

    .prologue
    .line 39
    iget-object v0, p0, Lcom/netease/util/WhereStringBuilder;->mSelectWhere:Ljava/lang/StringBuilder;

    const-string v1, " OR "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 40
    return-object p0
.end method

.method public rP()Lcom/netease/util/WhereStringBuilder;
    .locals 2

    .prologue
    .line 19
    iget-object v0, p0, Lcom/netease/util/WhereStringBuilder;->mSelectWhere:Ljava/lang/StringBuilder;

    const-string v1, ")"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 20
    return-object p0
.end method

.method public toString()Ljava/lang/String;
    .locals 1

    .prologue
    .line 10
    iget-object v0, p0, Lcom/netease/util/WhereStringBuilder;->mSelectWhere:Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method
